package com.aaa.common.entity;

import java.io.Serializable;
import java.util.Date;

public class Email implements Serializable {
    private Integer id;

    private String gotUsername;

    private Date sentDate;

    private String title;

    private String content;

    private Date gotDate;

    private Integer state;

    private Integer isRead;

    private Date readTime;

    private Integer isStar;

    private String addUsername;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGotUsername() {
        return gotUsername;
    }

    public void setGotUsername(String gotUsername) {
        this.gotUsername = gotUsername == null ? null : gotUsername.trim();
    }

    public Date getSentDate() {
        return sentDate;
    }

    public void setSentDate(Date sentDate) {
        this.sentDate = sentDate;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getGotDate() {
        return gotDate;
    }

    public void setGotDate(Date gotDate) {
        this.gotDate = gotDate;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getIsRead() {
        return isRead;
    }

    public void setIsRead(Integer isRead) {
        this.isRead = isRead;
    }

    public Date getReadTime() {
        return readTime;
    }

    public void setReadTime(Date readTime) {
        this.readTime = readTime;
    }

    public Integer getIsStar() {
        return isStar;
    }

    public void setIsStar(Integer isStar) {
        this.isStar = isStar;
    }

    public String getAddUsername() {
        return addUsername;
    }

    public void setAddUsername(String addUsername) {
        this.addUsername = addUsername == null ? null : addUsername.trim();
    }
}